import React from 'react';
import ReactDOM from 'react-dom';
import 'antd-mobile/dist/antd-mobile.css'

import registerServiceWorker from './registerServiceWorker';

import RouteMap from './router/routeMap'
import configureStore from './store/configureStore'
import { Provider } from 'react-redux'

// 创建 Redux 的 store 对象
const store = configureStore()
ReactDOM.render(
      <Provider store={store}>
        <RouteMap/>
      </Provider>,
  document.getElementById('root')
);
registerServiceWorker();
